/*
 * Copyright (C) 2012  E-dance Studio Harbin Institute of Technology 
 * Project:campusmobile
 * Author: 初楷博
 * Create Date: 2012-5-24下午11:23:11
 */
package hit.edance.campusmobile.chat.receiver;

import hit.edance.campusmobile.chat.service.CampusMobileService;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.util.Log;

/**   
 * 开启启动事件的接收器
 * 
 * @Project campusmobile
 * @Package hit.edance.campusmobile.chat.receiver
 * @Class BootCompleteReceiver
 * @Date 2012-5-24 下午11:23:11
 * @author 初楷博
 * @version 1.0
 * @since 1.0
 */
public class BootCompleteReceiver extends BroadcastReceiver {

	/* @see android.content.BroadcastReceiver#onReceive(android.content.Context, android.content.Intent)
	 *onReceive
	 */
	@Override
	public void onReceive(Context context, Intent intent) {
		//启动监听服务
		Log.i("","receive the broadcast~");
		context.startService(new Intent(context,CampusMobileService.class));	

	}

}
